/**
 * Copyright &copy; 2012-2017 <a href="https://vivo.com">vivo</a> All rights reserved.
 */
package com.vivo.dingtalk.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.vivo.dingtalk.entity.DingOaNotify;
import com.vivo.dingtalk.dao.DingOaNotifyDao;

/**
 * 钉钉OA通知Service
 * @author jyangye
 * @version 2018-11-14
 */
@Service
@Transactional(readOnly = true)
public class DingOaNotifyService extends CrudService<DingOaNotifyDao, DingOaNotify> {

	public DingOaNotify get(String id) {
		return super.get(id);
	}
	
	public List<DingOaNotify> findList(DingOaNotify dingOaNotify) {
		return super.findList(dingOaNotify);
	}
	
	public Page<DingOaNotify> findPage(Page<DingOaNotify> page, DingOaNotify dingOaNotify) {
		return super.findPage(page, dingOaNotify);
	}
	
	@Transactional(readOnly = false)
	public void save(DingOaNotify dingOaNotify) {
		super.save(dingOaNotify);
	}
	
	@Transactional(readOnly = false)
	public void delete(DingOaNotify dingOaNotify) {
		super.delete(dingOaNotify);
	}
	
}